<template>
  <div>About


    <h1>{{$route.query.name}}-{{$route.query.age}}</h1>
  </div>
</template>

<script>
import {useRoute} from "vue-router"
export default {
  setup() {
    const route=useRoute()
    console.log(route.query)
    return {};
  },
};
</script>

<style lang="scss" scoped></style>
